<% if not logged_in? -%>
  <%= render :partial => 'account/sideleft' %>
<% else -%>
  <div id="sideLeft">
    <div class="leftPanel">
      <%= render :partial => 'shared/calendar' %>
    </div>
    <div class="leftPanel">
      <div class="bordeTitulo"><%= hide_on_click 'CURSOS INSCRITOS', 'hidemeleft1' %></div>
      <div class="point1" id="hidemeleft1">
        <% if not @side_courses.nil? -%>
          <% for c in @side_courses -%>
            <p class="curso2"><%=link_to h(truncate(c.name, 30)), :controller => 'course', :action => 'show', :id => c %></p>
          <% end -%>
        <% end -%>
      </div>
    </div>
<!--    <div class="leftPanel">
      <div class="bordeTitulo">OTROS</div>
      <div class="point1"></div>
    </div> -->
  </div>
<% end -%>
